#!/bin/bash

JAVA_HOME=${HOME}/install/jdk1.5.0_04/
CLASSPATH=${HOME}/install/jdk1.5.0_04/lib/tools.jar:${HOME}/install/provisioning/lib/log4j-1.2.9.jar
JAVA_EXE=${JAVA_HOME}/bin/java
PROVISION_DIR=${HOME}/install/provisioning/

function iservice_provision_user ()
{
	echo "Provisioning User: =${1}@${3} (${2})";
	${JAVA_EXE} -cp "${PROVISION_DIR}:$CLASSPATH:${PROVISION_DIR}/conf" net.amsoft.iservice.asp.provisioning.tests.ProvisionUser "${2}" "${3}" "=${1}" 1 "${4}" "=${1}" ;
}

iservice_provision_user "gabe1" "!!10001" "localhost" "gabe.wachob@amsoft.net"
iservice_provision_user "gabe2" "!!10002" "amsoft-wachob" "gabe.wachob@amsoft.net"
  
